package com.homelock.domain.sms;

import java.io.Serializable;
import java.util.Map;

/**
 * @description 实际的sms业务对象
 * @author Android-Sub
 *
 */
public class ActiveSms extends SmsSendBase implements Serializable{
  private static final long serialVersionUID = 7873074679521864611L;
  //短信模板
  private String smsTemplateCode;

  public ActiveSms(){
  }
  public ActiveSms(String phoneNumber, String smsTemplateCode, Map<String,String> smsVarMap, String msgTag, Long partnerCode){
    super(phoneNumber, smsVarMap, msgTag, partnerCode);
    this.smsTemplateCode = smsTemplateCode;
  }
  public String getSmsTemplateCode() {
    return smsTemplateCode;
  }
  public void setSmsTemplateCode(String smsTemplateCode) {
    this.smsTemplateCode = smsTemplateCode;
  }
  @Override
  public String toString() {
    return "SmsDto [phoneNumber=" + super.getPhoneNumber() + ", smsVarMap=" + super.getSmsVarMap() + ", smsTemplateCode=" + smsTemplateCode
        + ", msgTag=" + super.getMsgTag() + ", partnerCode=" + super.getSourceId() + "]";
  }
}
